<?php
if (!defined("_INDEX")) { header("Location: /"); die; }


/*
* -------------------------------------------------------------
* UV - class User Variables for read and processing users vars
* -------------------------------------------------------------
*/

class UV {
	
	static function readInt($var,$min=0,$max=4294967296){
		return filter_var($var,FILTER_VALIDATE_INT);
	}
	
	static function readBool($var){
		return filter_var($var,FILTER_VALIDATE_BOOLEAN);
	}
	
	static function readMQ($var){
		return filter_var($var,FILTER_SANITIZE_MAGIC_QUOTES);
	}
	
}

?>